﻿#ifndef RM_LOGINDIALOG_H
#define RM_LOGINDIALOG_H

#include <QDialog>
#include <QJsonObject>

namespace Ui {
class rm_LoginDialog;
}

class rm_LoginDialog : public QWidget
{
    Q_OBJECT

public:
    explicit rm_LoginDialog(QWidget *parent = 0);
    ~rm_LoginDialog();

    QJsonObject m_userInforobj;

    void login();

public slots:
    void on_pushButton_login_clicked();//登陆
    void login_success(QJsonObject);
    void login_failed(QString);
private:
    Ui::rm_LoginDialog *ui;
};

#endif // RM_LOGINDIALOG_H
